package com.maxatime.service;

import com.maxatime.exception.PhoenixException;
import com.maxatime.pojo.*;

import java.util.List;

/**
 * @author Mr.Zhao
 * @title:
 * @projectName phoenix
 * @description: TODO
 * @date 2021/8/12 19:43
 */
public interface DormitoryService {
    List<Dormitory> dormitoryFind(DormitoryVo vo);



    Integer dormitoryDelete(int pkId);

    Integer updatedor(Dormitory dormitory) throws PhoenixException;

    Integer insertdor(Dormitory dormitory) throws PhoenixException;

    Integer deleteListDor(List<Integer> list);

    Dormitory selectKeydor(Integer id);

    StudentDormitoryRelation selectKeys(String studentId);

    List<StudentDormitoryRelation> select(String dormitoryDormitoryId);

    Integer insert(StudentDormitoryRelation dorm);

    List<StudentMessage> viewdormitorys(String dormitoryId);

    Integer dorStuDelete(int studentId);


    Integer updatedoruser(String dormitoryDormitoryId);


    Integer selectnownum(String dormitoryId);


    Integer dorNa(String dormitoryId);

    Integer updatedoUser(String dormitoryId);
}
